<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title></title>
    <script src="/public/sp/js/mui.min.js"></script>
    <link href="/public/sp/css/mui.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="/public/sp/css/style.css" />
    <link rel="stylesheet" href="/public/sp/css/iconfont.css" />
    <link rel="stylesheet" href="/public/sp/css/shoupiao.css" />
</head>
<body>
	<header class="mui-bar mui-bar-nav">
	    <h1 class="mui-title">我的购票</h1>
	</header>
	<div class="mui-content cash_content">
	    <div class="gp_conbox">
	    	<div class="gp_ad">
	    	</div>
		    {if count($list)==0}{
				<div class="none">
					<p class="iconfont icon-404"></p>
					<p>很抱歉，暂无记录</p>
				</div>	    		
			{/if}
	    	{foreach name="list" item="t"}
	    	{if $t.type==2}
	    	<div class="gp_pitem clearfix">
	    		<div class="left">
	    			<div class="redp">免<br />费<br />门<br />票</div>
	    		</div>
	    		<div class="right">
	    			<p class="type">分享即得免费门票</p>
	    			<p class="nr">分享一次即得免费门票,关注城市乐享公众号,分享页面至朋友圈即可领取门票,数量有限,先到先得</p>
	    			<p class="gp_button">
	    			<em style="float: left;color:#C85F5F ;">购票日期:{$t.add_time}</em>
	    			<em style="float: left;color:#C85F5F ;padding-left: 20px;">数量×{$t.nums}</em>
	    			<a href="{:url('yanpiao',['id'=>$t.id])}">查看详情</a></p>
	    		</div>
	    	</div>
	    	{else}
	    	<div class="gp_pitem gp_dzp clearfix">
	    		<div class="left">
	    			<div class="redp">乐<br />享<br />套<br />票<br /></div>
	    		</div>
	    		<div class="right">
	    			<p class="type">矿博会增值服务套票20元</p>
	    			<p class="nr">乐享特权:矿博会入场绿色通道+美食节体验卷+专车接送资格+寻矿兑奖+矿晶拍卖现金抵扣,购买套票。</p>
	    			<p class="gp_button">
	    			<em style="float: left;color:#C85F5F ;">购票日期:{$t.add_time}</em>
	    			<em style="float: left;color:#C85F5F ;padding-left: 20px;">数量×{$t.nums}</em>
	    			<a href="{:url('yanpiao',['id'=>$t.id])}">查看详情</a>
	    			</p>
	    		</div>
	    	</div>
	   		{/if}
	   		{/foreach}
	    </div>
	</div>
</body>
</html>
